#pragma once

#include "FCProperties.h"

namespace UIStone
{
	class FCController_Dimension : public FCPropertyContainer
		<
			Loki::TL::MakeTypelist
			<
				FCPropertyWidth,		
				FCPropertyHeight,	
				FCPropertyMaxWidth,
				FCPropertyMinWidth,
				FCPropertyMaxHeight,
				FCPropertyMinHeight,
				FCPropertyWidthPercent,		
				FCPropertyHeightPercent,	
				FCPropertyMaxWidthPercent,
				FCPropertyMinWidthPercent,
				FCPropertyMaxHeightPercent,
				FCPropertyMinHeightPercent
			>::Result
		>
	{
	public:
		FCController_Dimension()
		{
			_defaultValue();
		}

		virtual ~FCController_Dimension() {}

	private:
		void _defaultValue()
		{
			Width() = Height() = MaxWidth() = MinWidth() = MaxHeight() = MinHeight() = 
			WidthPercent() = HeightPercent() = MaxWidthPercent() = MinWidthPercent() = 
			MaxHeightPercent() = MinHeightPercent() = 0;
		}
	};
};